<?php

include_once 'objects/AbstractObject.inc';

class DCFinal extends AbstractObject {

    public $tabla = "detalle_cfinal";
    private $factura = null;
    private $servicio = null;

    public function getFactura() {
        if ($this->factura === null) {
            $this->factura = CFinal::Id($this->factura_id);
        }
        return $this->factura;
    }
    

    public function getServicio() {
        if ($this->servicio === null) {
            $this->servicio = Servicio::Id($this->servicio_id);
        }
        return $this->servicio;
    }

}

?>
